package cc.atliberty.creating.eagersingleton;

/**
 * @Author 元宵
 * @url www.atliberty.cc
 * @Date 2023-10-30 17:50
 * @description: 饿汉式单例类
 */
public class EagerSingleton {
    
    private static final EagerSingleton INSTANCE = new EagerSingleton(); 
    private EagerSingleton() {}
    
    public static EagerSingleton getInstance() {
        return INSTANCE;
    }
}
